<!--
 * @Author: 灰灰
 * @Date: 2022-01-10 15:04:12
 * @LastEditors: Please set LastEditors
 * @LastEditTime: 2022-01-11 10:23:39
 * @Description: 
-->

<template>
  <page-box :tableCols="cols"
            :dataApi="getList"
            :formList="formList">
    <template v-slot:tableCol>
      <el-table-column width="80"
                       label="操作"></el-table-column>
    </template>
  </page-box>
</template>

<script>
import { getList } from '@/api/table'

export default {
  data () {
    return {
      getList,
      cols: [{ prop: 'year', label: '年' }],
      formList: [{
        label: '名称',
        prop: 'name',
        placeholder: '名称'
      }]
    }
  }
}
</script>

<style>
</style>